const defaultState = { allMatch: [{ keyword: "" }] };

export default (state = defaultState, action) => {
  switch (action.type) {
    case "SEARCH_GIVE_YOU_CHANGE":
      return action.payload;
    default:
      return state;
  }
};
